package io.renren.modules.medical.vo.medicalVo.info;


import io.renren.common.validator.group.AddGroup;
import io.renren.common.validator.group.UpdateGroup;
import io.renren.modules.medical.entity.PatientDiseaseInformationEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author Luo Sheng
 * @school YiBin university
 * @create 2023-05-13 22:41
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DiseaseInfoSaveVo extends PatientDiseaseInformationEntity {
    @NotNull(message = "treatmentMap", groups = {AddGroup.class, UpdateGroup.class})
    private DiseaseMapVo treatmentMap;

}
